//
//  UIDevice+Resolutions.m
//  Test_common
//
//  Created by wangzhipeng on 13-1-30.
//  Copyright (c) 2013年 com.comsoft. All rights reserved.
//

#import "UIDevice+Resolutions.h"

@implementation UIDevice (Resolutions)

+(CGRect)getAppBounds
{
    CGRect rect = [UIScreen mainScreen].bounds;;
    return rect;
}

+(CGRect)getAppFrame
{
    CGRect rect = [UIScreen mainScreen].applicationFrame;
    return rect;
}

+(CGRect)getStatusBarFrame
{
    CGRect rect = [[UIApplication sharedApplication] statusBarFrame];
    return rect;
}


@end